package com.db.patterns.server;

import com.db.patterns.cache.Cache;
import com.db.patterns.cache.ConcurrentHashMapCache;
import com.db.patterns.cache.server.AbstractServerCache;

import java.util.HashMap;
import java.util.Map;

/**
 * @author nulls.narik
 */
public class ConcurrentHashMapServer extends AbstractServer {

    private final ConcurrentHashMapCache cache = new ConcurrentHashMapCache();

    @Override
    protected Cache getCache() {
        return getCache();
    }
}
